import request from '@/utils/request'

// 查询抖音营销花费列表
export function listBiDyMarketingCost(query) {
  return request({
    url: '/sale/BiDyMarketingCost/list',
    method: 'get',
    params: query
  })
}

// 查询抖音营销花费详细
export function getBiDyMarketingCost(id) {
  return request({
    url: '/sale/BiDyMarketingCost/' + id,
    method: 'get'
  })
}

// 新增抖音营销花费
export function addBiDyMarketingCost(data) {
  return request({
    url: '/sale/BiDyMarketingCost',
    method: 'post',
    data: data
  })
}

// 修改抖音营销花费
export function updateBiDyMarketingCost(data) {
  return request({
    url: '/sale/BiDyMarketingCost',
    method: 'put',
    data: data
  })
}

// 删除抖音营销花费
export function delBiDyMarketingCost(id) {
  return request({
    url: '/sale/BiDyMarketingCost/' + id,
    method: 'delete'
  })
}
